package com.achang.achangmall.product.feign;

import com.achang.common.to.SkuHasStockVo;
import com.achang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/******
 @author 阿昌
 @create 2021-10-03 19:51
 *******
 */
@FeignClient("achangmall-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/hasstock")
    public R getSkuHasStock(@RequestBody List<Long> skuIdList);
}
